package constant;

/**
 * Created by sky_wang on 2017/7/13.
 */

public enum ConstRole {

    ROLE_VIEW_CREATED("VIEW_CREATED",1 ),  /*创建模版*/
    ROLE_RELATIONSHIP_UPDATE("RELATIONSHIP_UPDATE",2), /*更新数据表关系*/
    ROLE_VIEW_DELETED   ("VIEW_DELETED",3),  /*删除模版 */
    ROLE_REPORT_DESIGNED("REPORT_DESIGNED",4), /*设计报表*/
    ROLE_REPORT_CONSULTED("REPORT_CONSULTED",5);/*查看报表*/

    private String name ;
    private int index ;

    private ConstRole( String name , int index ){
        this.name = name ;
        this.index = index ;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}

